import request from "@/utils/request";

export function getWoRawSubRelFaultByPage(query) {
  return request({
    url: `/system/woRawSubRelFault/getWoRawSubRelFaultByPage`,
    method: "post",
    data: query,
  });
}

// 增加流程模型

export function addWoRawSubRelFault(query) {
  return request({
    url: `/system/woRawSubRelFault/addWoRawSubRelFault`,
    method: "post",
    data: query,
  });
}
/**
 *
 * @param {*} query
 * @returns
 */
export function delWoRawSubRelFault(query) {
  return request({
    url: `/system/woRawSubRelFault/delWoRawSubRelFault`,
    method: "post",
    data: query,
  });
}

export function updateWoRawSubRelFault(query) {
  return request({
    url: `/system/woRawSubRelFault/updateWoRawSubRelFault`,
    method: "post",
    data: query,
  });
}
